<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class uhu_LLSD</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class uhu_LLSD</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The main class for doing LLSD-based operations.</p>
	<ul class="tags">
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD_common.html">uhu_LLSD_common</a></li>
				<li><span class="field">uses:</span> SimpleXMLElement</li>
				<li><span class="field">uses:</span> DOMDocument</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_apps---secondlife---LLSD.php.html">/apps/secondlife/LLSD.php</a> (line <span class="field">65</span>)
		</p>
		
				
		<pre><a href="../uhu_LLSD/uhu_LLSD_common.html">uhu_LLSD_common</a>
   |
   --uhu_LLSD</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#LLSD_DTD" title="details" class="const-name">LLSD_DTD</a> = 					<span class="var-type"> &quot;&lt;!DOCTYPE llsd [\n&lt;!ELEMENT llsd (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)&gt;\n&lt;!ELEMENT DATA (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)&gt;\n&lt;!ELEMENT ATOMIC (undef|boolean|integer|real|uuid|string|date|uri|binary)&gt;\n&lt;!ELEMENT KEYDATA (key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))&gt;\n&lt;!ELEMENT key (#PCDATA)&gt;\n&lt;!ELEMENT map ((key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))*)&gt;\n&lt;!ELEMENT array ((undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)*)&gt;\n&lt;!ELEMENT undef (EMPTY)&gt;\n&lt;!ELEMENT boolean (#PCDATA)&gt;\n&lt;!ELEMENT integer (#PCDATA)&gt;\n&lt;!ELEMENT real (#PCDATA)&gt;\n&lt;!ELEMENT uuid (#PCDATA)&gt;\n&lt;!ELEMENT string (#PCDATA)&gt;\n&lt;!ELEMENT date (#PCDATA)&gt;\n&lt;!ELEMENT uri (#PCDATA)&gt;\n&lt;!ELEMENT binary (#PCDATA)&gt;\n\n&lt;!ATTLIST string xml:space (default|preserve) 'preserve'&gt;\n&lt;!ATTLIST binary encoding (base64|base16|base85) 'base64'&gt;\n]&gt;&quot;</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#LLSD_numeric_paranoia" title="details" class="const-name">LLSD_numeric_paranoia</a> = 					<span class="var-type"> 2</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																																								<div class="var-title">
					<span class="var-type">SimpleXMLElement</span>
					<a href="#$document" title="details" class="var-name">$document</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$params" title="details" class="var-name">$params</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$struct" title="details" class="var-name">$struct</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#attach_DTD" title="details" class="method-name">attach_DTD</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">bool</span>
										<a href="#has_DTD" title="details" class="method-name">has_DTD</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#is_map" title="details" class="method-name">is_map</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$node</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#level_based_indent" title="details" class="method-name">level_based_indent</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$level</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#save" title="details" class="method-name">save</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$struct</span>, [<span class="var-type">null|integer</span>&nbsp;<span class="var-name">$indent</span> = <span class="var-default">null</span>])
									</div>
																								<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#struct_build_LLSD" title="details" class="method-name">struct_build_LLSD</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$node</span>, [<span class="var-type">null|integer</span>&nbsp;<span class="var-name">$level</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate" title="details" class="method-name">validate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
									</div>
								
												<div class="method-definition">
											<span class="method-result">uhu_LLSD</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$source</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
									</div>
																																																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#struct" title="details" class="method-name">struct</a>
										()
									</div>
																								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$document" id="$document"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">SimpleXMLElement</span>
			<span class="var-name">$document</span>
						(line <span class="line-number">78</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> An instance of a SimpleXMLElement object, generated from the XML supplied by <a href="../uhu_LLSD/uhu_LLSD.html#method__construct">uhu_LLSD::__construct()</a></li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$params" id="$params"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$params</span>
						(line <span class="line-number">86</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">I forget what this does :-P</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$struct" id="$struct"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$struct</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">82</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> the placeholder for the native PHP representation of the LLSD document</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodstruct">uhu_LLSD::struct()</a></li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodattach_DTD" id="attach_DTD"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method attach_DTD</span> (line <span class="line-number">336</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attaches a DTD to the LLSD document so it can be validated. Does not currently support replacing an existing DTD. Should probably use preg_replace if '?&gt;' starts cropping up inside string elements, though thats more likely to show up as &quot;?&amp;gt;&quot;, not &quot;?&gt;&quot;</p>
	<ul class="tags">
				<li><span class="field">return:</span> The LLSD document, modified with the specified DTD</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodvalidate">uhu_LLSD::validate()</a></li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#constLLSD_DTD">uhu_LLSD::LLSD_DTD</a></li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodvalidate">uhu_LLSD::validate()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			attach_DTD
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$document</span><span class="var-description">: the LLSD document to attach the DTD to.</span>			</li>
					<li>
				<span class="var-type">bool|string</span>
				<span class="var-name">$custom_dtd</span><span class="var-description">: if false, <a href="../uhu_LLSD/uhu_LLSD.html#constLLSD_DTD">uhu_LLSD::LLSD_DTD</a> is used, otherwise the value is passed to DOMDocument when doing validation of the LLSD document.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhas_DTD" id="has_DTD"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method has_DTD</span> (line <span class="line-number">325</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Checks if the LLSD document contains a DTD</p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE if the document contains a DTD, FALSE otherwise.</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">bool</span>
		<span class="method-name">
			has_DTD
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$document</span><span class="var-description">: the LLSD document to check</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis_map" id="is_map"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method is_map</span> (line <span class="line-number">217</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Checks if the native PHP data type should be represented as a map LLSD node</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodstruct_build_LLSD">uhu_LLSD::struct_build_LLSD()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/LLSD/uhu_LLSD_exception.html">uhu_LLSD_exception</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			is_map
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$node</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$node</span><span class="var-description">: The native PHP data type to check     return bool TRUE if the native PHP data type should be represented as a LLSD node, FALSE if it should be an array. instance of uhu_LLSD_exception thrown if the type would be neither &quot;map&quot; nor &quot;array&quot;.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlevel_based_indent" id="level_based_indent"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method level_based_indent</span> (line <span class="line-number">251</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used for tab-based indentation of the LLSD document</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodstruct_build_LLSD">uhu_LLSD::struct_build_LLSD()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			level_based_indent
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$level</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$level</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method save</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Converts a native PHP data type into an LLSD document.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../LLSD/uhu_LLSD_struct.html#methodLLSD">uhu_LLSD_struct::LLSD()</a></li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodstruct_build_LLSD">uhu_LLSD::struct_build_LLSD()</a></li>
				<li><span class="field">uses:</span> uhu_LLSD::level_based_indent();</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			save
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$struct</span>, [<span class="var-type">null|integer</span>&nbsp;<span class="var-name">$indent</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$struct</span><span class="var-description">: The native PHP version of an LLSD document</span>			</li>
					<li>
				<span class="var-type">null|integer</span>
				<span class="var-name">$indent</span><span class="var-description">: If null, no indentation is used, otherwise the number of specified tabs is used as the starting indents (0 is suggested)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstruct_build_LLSD" id="struct_build_LLSD"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method struct_build_LLSD</span> (line <span class="line-number">136</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Converts a native PHP data type into an LLSD node (note, it uses short-form versions of various data types where appropriate).</p>
	<ul class="tags">
				<li><span class="field">return:</span> A string representation of the native PHP data type as an LLSD node</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodsave">uhu_LLSD::save()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/LLSD/uhu_LLSD_exception.html">uhu_LLSD_exception</a></li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodis_map">uhu_LLSD::is_map()</a></li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodlevel_based_indent">uhu_LLSD::level_based_indent()</a></li>
				<li><span class="field">uses:</span> uhu::struct_build_LLSD()</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			struct_build_LLSD
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$node</span>, [<span class="var-type">null|integer</span>&nbsp;<span class="var-name">$level</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$node</span><span class="var-description">: The native PHP data type to be converted</span>			</li>
					<li>
				<span class="var-type">null|integer</span>
				<span class="var-name">$level</span><span class="var-description">: If null, no indentation is used, otherwise the number of specified tabs is used as the starting indents</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate" id="validate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method validate</span> (line <span class="line-number">272</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the LLSD document, useful check to run prior to parsing, also allows custom DTDs to be loaded.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#method__construct">uhu_LLSD::__construct()</a></li>
				<li><span class="field">uses:</span> uhu_LLSD_exception()</li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodattach_DTD">uhu_LLSD::attach_DTD()</a></li>
				<li><span class="field">uses:</span> DOMDocument::validate()</li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodattach_DTD">uhu_LLSD::attach_DTD()</a></li>
				<li><span class="field">uses:</span> DOMDocument::loadXML()</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$document</span><span class="var-description">: the LLSD document to validate</span>			</li>
					<li>
				<span class="var-type">bool|string</span>
				<span class="var-name">$custom_dtd</span><span class="var-description">: if false, <a href="../uhu_LLSD/uhu_LLSD.html#constLLSD_DTD">uhu_LLSD::LLSD_DTD</a> is used, otherwise the value is passed to DOMDocument when doing validation of the LLSD document.</span>			</li>
				</ul>
		
			
	</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Builds an instance of uhu_LLSD from source, with optional custom DTD (custom DTD is useful with <a href="http://wiki.secondlife.com/wiki/RegAPI/DTDs">LL's RegAPI</a>)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodvalidate">uhu_LLSD::validate()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">uhu_LLSD</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$source</span>, [<span class="var-type">bool|string</span>&nbsp;<span class="var-name">$custom_dtd</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$source</span><span class="var-description">: the LLSD document to be parsed</span>			</li>
					<li>
				<span class="var-type">bool|string</span>
				<span class="var-name">$custom_dtd</span><span class="var-description">: if false, <a href="../uhu_LLSD/uhu_LLSD.html#constLLSD_DTD">uhu_LLSD::LLSD_DTD</a> is used, otherwise the value is passed to DOMDocument when doing validation of the LLSD document.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstruct" id="struct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">struct</span> (line <span class="line-number">109</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the native PHP version of the LLSD document.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../uhu_LLSD/uhu_LLSD.html#var$struct">uhu_LLSD::$struct</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			struct
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constLLSD_DTD" id="LLSD_DTD"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">LLSD_DTD</span>
			 = <span class="const-default"> &quot;&lt;!DOCTYPE llsd [\n&lt;!ELEMENT llsd (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)&gt;\n&lt;!ELEMENT DATA (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)&gt;\n&lt;!ELEMENT ATOMIC (undef|boolean|integer|real|uuid|string|date|uri|binary)&gt;\n&lt;!ELEMENT KEYDATA (key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))&gt;\n&lt;!ELEMENT key (#PCDATA)&gt;\n&lt;!ELEMENT map ((key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))*)&gt;\n&lt;!ELEMENT array ((undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)*)&gt;\n&lt;!ELEMENT undef (EMPTY)&gt;\n&lt;!ELEMENT boolean (#PCDATA)&gt;\n&lt;!ELEMENT integer (#PCDATA)&gt;\n&lt;!ELEMENT real (#PCDATA)&gt;\n&lt;!ELEMENT uuid (#PCDATA)&gt;\n&lt;!ELEMENT string (#PCDATA)&gt;\n&lt;!ELEMENT date (#PCDATA)&gt;\n&lt;!ELEMENT uri (#PCDATA)&gt;\n&lt;!ELEMENT binary (#PCDATA)&gt;\n\n&lt;!ATTLIST string xml:space (default|preserve) 'preserve'&gt;\n&lt;!ATTLIST binary encoding (base64|base16|base85) 'base64'&gt;\n]&gt;&quot;</span>
			(line <span class="line-number">70</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A modified version of the LLSD DTD that doesn't cause any errors to be thrown when passed to DOMDocument</p>
	<ul class="tags">
				<li><span class="field">usedby:</span> <a href="../uhu_LLSD/uhu_LLSD.html#methodattach_DTD">uhu_LLSD::attach_DTD()</a></li>
			</ul>
	
	
</div>
<a name="constLLSD_numeric_paranoia" id="LLSD_numeric_paranoia"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">LLSD_numeric_paranoia</span>
			 = <span class="const-default"> 2</span>
			(line <span class="line-number">74</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">I forget what this does. :-P</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Sat, 22 Nov 2008 20:43:54 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>